package com.hlingsoft.kkh.entity.vo;

import com.hlingsoft.kkh.entity.AppUser;

import com.hlingsoft.kkh.entity.Events;

/**
 * Created by Administrator on 2015/3/7.
 */
public class StartsVo {
    private AppUser appUser;
    private Events newestEvents;

    public Events getNewestEvents() {
        return newestEvents;
    }

    public void setNewestEvents(Events newestEvents) {
        this.newestEvents = newestEvents;
    }

    public AppUser getAppUser() {
        return appUser;
    }

    public void setAppUser(AppUser appUser) {
        this.appUser = appUser;
    }

        @Override
        public boolean equals(Object obj) {
            StartsVo s=(StartsVo)obj;
            return  appUser.getId()==s.appUser.getId();
        }

        @Override
        public int hashCode() {
            String in = appUser.getId()+"";
            return in.hashCode();
        }

}
